<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>声明变量的关键字</title>
    <style>
        *{margin: 0;padding: 0;list-style-type: none;}
    </style>
</head>
<body>

    <script>
        let tmp = 200
        // const 与c++一致必须赋值，不可修改
        const x = 100
        //声明变量的关键字：let/const
        //代码调试 console.log() 用来打印变量
    </script>
</body>
</html>